package com.wrial.seckill.dao;
/*
 * @Author  Wrial
 * @Date Created in 20:23 2020/4/6
 * @Description
 */

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wrial.seckill.dataobject.PromoDO;
import org.apache.ibatis.annotations.Select;

public interface PromoDOMapper extends BaseMapper<PromoDO> {

    @Select("select * from promo where item_id = #{itemId}")
    PromoDO selectByItemId(Integer itemId);
}
